.massMsg {
  width: 100%;
  height: 100%;
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
  .select_type{
    width:100%;height:40px;
    text-align: center;
    .typelist{
      display:inline-block;
      height: 24px;margin:8px;font-size:0;
      border-radius: 100px;border:1px solid #4282ee;
      position: relative;
      .active_box{
        position: absolute;top:0px;width:100px;height:22px;border-radius: 99px;
        background:#4282ee;z-index: 1;
        transition: all 0.5s;
      }
      .type_item{
        &.active{
          color:#fff;
        }
        transition: all 0.5s;
        display:inline-block;height: 24px;font-size: 14px;line-height: 23px;position: relative;z-index: 2;
        width: 100px;text-align: center;padding:0 15px;border-radius: 100px; cursor: pointer;-webkit-app-region: no-drag;
      }
    }
  }
  .ivu-split-trigger-vertical {
    width: 2px;
    border: none;
    background: #dcdee2;
    * {
      display: none;
    }
  }
  .left {
    -webkit-app-region: no-drag;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    .tops {
      flex-basis: 39px;
      border-top: 1px solid #dcdee2;
      border-bottom: 1px solid #d9d9d9;
      display: flex;
      align-items: center;
      padding: 0 5px;
      justify-content: space-between;
      span {
        color: #4282ee;
        cursor: pointer;
      }
    }
    .cont {
      flex-basis: calc(100% - 40px);
      height: calc(100% - 40px);
      overflow: hidden;
      overflow-y: auto;
      .list {
        .ivu-collapse {
          border-right: none;
        }
        .ivu-collapse-header {
          padding: 5px;
          height: 25px;
          line-height: 15px;
        }
        .ivu-collapse-content {
          padding: 0;
        }
        .ivu-collapse-content-box {
          padding: 0;
        }
        .ivu-checkbox-wrapper {
          float: right;
          margin-right: 2px;
          .ivu-checkbox-focus {
            box-shadow: none;
          }
          &:focus {
            box-shadow: none;
          }
        }
        .item {
          width: 100%;
          height: 40px;
          display: flex;
          align-items: center;
          cursor: pointer;
          &:hover {
            background: #eee;
          }
          .img {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            margin: 0 5px;
            img {
              width: 30px;
              height: 30px;
              border-radius: 50%;
            }
          }
          .name {
            width: calc(100% - 60px);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }
          .radio {
            width: 20px;
            height: 20px;
            margin: 0 5px;
            text-align: center;
            line-height: 20px;
          }
          &.active {
            background: #c1d3f4;
            .radio {
              color: green;
            }
          }
        }
      }
    }
  }
  .right {
    -webkit-app-region: no-drag;
    border-top: 1px solid #dcdee2;
    height: 100%;
    .content {
      height: calc(100% - 50px);
      padding: 5px;
      overflow: hidden;
      overflow-y: auto;
      .list {
        height: auto;
        .item {
          padding: 10px;
          background: #dddddd;
          position: relative;
          margin: 10px 5px 5px;
          border-radius: 5px;
          border: 1px solid #ddd;
          cursor: pointer;
          &:nth-child(1) {
            margin-top: 5px;
          }
          .close {
            position: absolute;
            display: none;
            top: -7px;
            right: -5px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #515a6e;
            text-align: center;
            line-height: 16px;
            font-size: 18px;
            color: #fff;
            &:hover {
              background: Red;
            }
          }
          .edit {
            position: absolute;
            display: none;
            top: -7px;
            right: 15px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #515a6e;
            text-align: center;
            line-height: 16px;
            font-size: 18px;
            color: #fff;
            i {
              font-size: 10px;
            }
            &:hover {
              background: Red;
            }
          }
          &:hover {
            border: 1px solid #0f85ff;
            .close,
            .edit {
              display: block;
            }
          }
          &[type="text"] {
            user-select: text;
            .textcont {
              p{
                margin:0;
              }
              img{
                vertical-align: middle;
              }
            }
          }
          &[type="image"] {
            text-align: center;
            font-size: 0px;
            img {
              height: 100px;
              display: inline-block;
              margin: 0 auto;
            }
          }
          &[type="outline"] {
            text-align: center;
            font-size: 0px;
            span {
              font-size: 12px;
              user-select: none;
            }
          }
        }
      }
      .addmsg {
        font-size: 12px;
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 10px 0 0 0;
        .item {
          background: #0f85ff;
          color: #fff;
          padding: 2px 10px;
          border-radius: 4px;
          margin: 0 5px;
          cursor: pointer;
          i {
            font-size: 14px;
            position: relative;
            top: -1px;
            left: -2px;
          }
          &:active {
            opacity: 0.8;
          }
        }
      }
    }
    .button {
      height: 50px;
      display: flex;
      button {
        flex-grow: 1;
        border: none;
        outline: none;
        cursor: pointer;
        &.start {
          background: #0f85ff;
          color: #fff;
        }
      }
    }
  }
}

.settextmsg {
  .ivu-modal-mask {
    display: none;
  }
  .ivu-modal {
    width: 400px !important;
    top: 50%;
    margin-top: -112px;
  }
  .ivu-modal-header {
    padding: 2px 0px 20px 10px;
    height: 24px;
    -webkit-app-region: drag;
    margin-right: 24px;
    p {
      height: 20px;
      line-height: 20px;
      color: #666;
      font-weight: 400;
    }
  }
  .ivu-modal-close {
    width: 24px;
    height: 24px;
    top: 0;
    right: 0;
    font-size: 0;
    border-bottom: 1px solid #e8eaec;
    -webkit-app-region: no-drag;
    .ivu-icon {
      font-size: 20px;
      line-height: 24px;
      text-align: center;
      display: inline-block;
      width: 24px;
    }
  }
  .ivu-modal-footer {
    // display: none;
    padding:5px;
    .ivu-btn {
      height:20px; line-height: 20px;padding:0 15px;font-size:0px;
      span{
        line-height: 20px;font-size:12px;
      }
    }
  }
  .ivu-modal-body {
    height: 200px;
    padding: 0;
    .tools {
      border-bottom: 1px solid #dcdee2;
      padding: 0 10px;
      margin:0 0 0;
      height: 29px;
      display: flex;
      justify-content: space-between;
      .ivu-poptip-title {
        display: none;
      }
      .ivu-poptip-arrow {
        left: 8px;
      }
      .facelist {
        width: 300px;
        text-align: justify;
        max-height: 150px;
        white-space: normal;
        .img {
          display: inline-block;
          font-size: 0;
          width: 25px;
          height: 25px;
          cursor: pointer;
          &:hover {
            background: #ddd;
          }
          img {
            width: 23px;
            height: 23px;
            margin: 1px;
          }
        }
      }
      .item {
        display: inline-block;
        font-size: 0;
        text-align: center;
        line-height: 30px;
        width: 30px;
        height: 30px;
        cursor: pointer;
        i {
          font-size: 18px;
        }
      }
    }
    .input{
      // border:1px solid #dcdee2;
      margin:0 0;height:170px;
      .editor{
        height:100%;padding:15px 0;
      }
    }
  }
}